package oo.day02.practice;

public class TJTest {

	public static void main(String[] args) {
		J j = new J(2,5);
		j.printCells();
		
		j.drop();
		System.out.println("J的坐标:");
		j.printCells();
		
		
		/*T t = new T(3,4);
		t.printCells();*/
	}

	public static void printWall(Cell[] cells) {
		for(int i = 0; i < 20; i++) {
			for(int j = 0; j < 10; j++) {
				/*for(int k = 0; k < cells.length; k++) {
					if(i == cells[k].row && j == cells[k].col) {
						System.out.print("* ");
					}
				}*/
				System.out.print("- ");
			}
			System.out.println();
		}
		System.out.print("--------------------------------------");
	}
}
